Component({
  properties: {
    range: {
      type: Array,
      value: []
    },
    key: {
      type: String,
      value: ''
    }
  },
  methods: {
    change ({ detail }) {
      this.triggerEvent('change', detail)
    },
    cancel () {
      this.triggerEvent('cancel')
    }
  },
})